﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebCalendar.Models
{
    public class Entry
    {
        public int ID { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public bool IsAllDay { get; set; }
        public int RecurringDays { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
    }
    public class EntryData
    {
        public int ID { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public bool IsAllDay { get; set; }
        public int RecurringDays { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public int CategoryID { get; set; }
        public string StartDateString{ get; set; }
        public string EndDateString { get; set; }
        public Category Category { get; set; }
    }

    public class AppointmentRequestData
    {
        public string Name { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public UserProfile RequestorUserProfile { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public bool IsAllDay { get; set; }
        public string StartDateString { get; set; }
        public string EndDateString { get; set; }
        public string URLCode { get; set; }
    }
}